﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>支付宝付款</title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align: center">
        <span style="font-size: 9pt; font-family: 宋体">

        支付网关：</span><asp:TextBox ID="T_gateway" Text="https://www.alipay.com/cooperate/gateway.do?" runat="server" Width="350px"></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        服务参数：<asp:DropDownList ID="T_service"
            runat="server" Width="357px">
            <asp:ListItem>create_direct_pay_by_user</asp:ListItem>
        </asp:DropDownList></span><br />
        <span style="font-size: 9pt; font-family: 宋体">
        合作商： </span>
        <asp:TextBox ID="T_partner" runat="server" Width="350px"></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        加密协议：</span><asp:TextBox ID="T_sign_type" Text="MD5" runat="server" Width="350px"></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        商品名称：</span><asp:TextBox ID="T_subject" Text="utf-8中文测试" runat="server" Width="350px" ></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        商品描述：</span><asp:TextBox ID="T_body" Text="中文测试" runat="server" Width="350px"></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        支付类型：</span><asp:TextBox ID="T_payment_type" Text="1" runat="server" Width="350px"></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        总金额： </span>
        <asp:TextBox ID="T_total_fee" Text="0.02" runat="server" Width="350px"></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        展示地址：</span><asp:TextBox ID="T_show_url" Text="www.alipay.com" runat="server" Width="350px"></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        卖家账号：</span><asp:TextBox ID="T_seller_email" runat="server" Width="350px"></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        安全校验码：</span><asp:TextBox ID="T_key" runat="server" Width="350px" ></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        重定向地址(加上服务器地址)：</span><asp:TextBox ID="T_return_url" Text="Alipay_Return.aspx" runat="server" Width="350px"></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">
        服务器通知地址：</span><asp:TextBox ID="T_notify_url" Text="Alipay_Notify.aspx" runat="server" Width="350px"></asp:TextBox><br />
        <span style="font-size: 9pt; font-family: 宋体">服务器编码：</span><asp:TextBox ID="T_inputchatset"
            runat="server" Text="utf-8" Width="350px"></asp:TextBox><br />
        <asp:Button ID="Button1"  runat="server"  Text="支付宝付款" OnClick="Button1_Click" /><span
            style="font-size: 9pt; font-family: 宋体">&nbsp;</span></div>
    </form>
</body>
</html>
